module.exports = {
  base: "/blog/",
  title: "林中小屋",
  description: '不言不语都是小聪明',
  dest: 'public',
  head: [
    ['link', { rel: 'icon', href: '/favicon.ico' }],
    ['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }]
  ],
  // 设置语言
  locales: {
    '/': {
      lang: 'zh-CN'
    }
  },
  //插件
  plugins: {
    //背景音乐播放
    "@vuepress-reco/vuepress-plugin-bgm-player": {
      audios: [
        {
          name: '讨好自己',
          artist: '王菲',
          url: './1.mp3',
          cover: './1.jpg'
        }
      ],
      autoShrink: true,
      floatPosition: "right"
    },
    //看板娘
    "@vuepress-reco/vuepress-plugin-kan-ban-niang": {
      theme: ['blackCat', 'whiteCat', 'wanko'],
      messages: {
        welcome: '欢迎来到 ' + '林中小屋',
        home: '回到小屋',
        theme: '看我召唤之术',
        close: '我先出去玩了'
      },
      messageStyle: {
        right: '68px',
        bottom: '120px'
      }
    }
  },
  //  主题
  theme: 'reco',
  themeConfig: {
    nav: [
      { text: '主页', link: '/', icon: 'reco-home' },
      { text: '时间线', link: '/timeline/', icon: 'reco-date' },
      {
        text: '关于我',
        icon: 'reco-message',
        link: '/docs/about/'
      },
      {
        text: 'Gitee',
        icon: 'reco-mayun',
        link: 'https://gitee.com/yang_wei99'
      }
    ],
    sidebar:'auto',
    sidebarDepth: 2,
    type: 'blog',
    // 博客设置
    blogConfig: {
      category: {
        location: 2, // 在导航栏菜单中所占的位置，默认2
        text: '分类' // 默认 “分类”
      },
      tag: {
        location: 3, // 在导航栏菜单中所占的位置，默认3
        text: '标签' // 默认 “标签”
      }
    },
    friendLink: [
      {
        title: '青灯有味',
        desc: 'Enjoy when you can, and endure when you must.',
        email: '1156743527@qq.com',
        link: 'https://zscnb.gitee.io/'
      },
      {
        title: '有梦想的咸鱼',
        desc: '自然坦荡',
        email: '749380546@qq.com',
        link: 'https://blog.liudongyang.top'
      }
    ],
    logo: '/head.jpg',
    // 搜索设置
    search: true,
    searchMaxSuggestions: 10,
    // 自动形成侧边导航
    // sidebar: 'auto',
    // 最后更新时间
    lastUpdated: '2020/6/1',
    // 作者
    author: '杨威',
    // 作者头像
    authorAvatar: '/rabit.png',
    // 备案号
    record: '粤ICP备17067634号-1',
    // 项目开始时间
    startYear: '2020',
    /**
     * 密钥 (if your blog is private)
     */

    // keyPage: {
    //   keys: ['your password'],
    //   color: '#42b983',
    //   lineColor: '#42b983'
    // },

    /**
     * valine 设置 (if you need valine comment )
     */

    valineConfig: {
      appId: 'Yawee',// your appId
      appKey: '123', // your appKey
    }
  },
  markdown: {
    lineNumbers: true
  }
}  
